css: Redo GtkCssAffects
authorBenjamin Otte <otte@redhat.com>
Sun, 1 Jan 2017 18:50:25 +0000 (19:50 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 1 Jan 2017 18:53:36 +0000 (19:53 +0100)
commitaa917ce3b77ab3fbf4f9417ddb8801bdf1a3bffc
tree7ab3ec71be8717151e4cbad3338bcca487900cce
parent2571036c077b88203039703de7a66b6e45c20566
css: Redo GtkCssAffects

We now have GTK_CSS_AFFECTS_CONTENT for properties that have an effect
on content rendering.

Using GTK_CSS_AFFECTS_ICON is wrong for icon-transform and icon-filter
as they don't change the icon, just how the icon is rendered, so we use
GTK_CSS_AFFECTS_CONTENT for those.

We also introduce GTK_CSS_AFFECTS_POSTEFFECT for opacity and filter -
properties that affect the whole drawing of the widget by applying an
effect after everything is said and done.
gtk/gtkcssstylepropertyimpl.c
gtk/gtkcsstypesprivate.h